﻿using UnityEngine;
using System.Collections;

public class StartupCheck : MonoBehaviour {

    public bool forceMobile = false;
    public string serverIP = "192.168.1.65";
    public int port = 378;

    bool isClient = false;

	// Use this for initialization
	void Start () {

	} 
	
	// Update is called once per frame
	void Update () {

        if (forceMobile || Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer)
        {
            Application.LoadLevel("startupTablet");
        }
        else
        {
            Application.LoadLevel("startupServer");
        }
	
	}

}
